x86/pv: Fix assertion failure in pv_emulate_privileged_op()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 25 Sep 2017 17:19:01 +0000 (18:19 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 26 Sep 2017 09:33:39 +0000 (10:33 +0100)
commit8a4b37c38c4be14a21556455fba9a0be5c0fe36b
tree9100a1dd0431551fa82b4e6201d9443267c2044c
parentd73e68c08f1f13e2622b6fa1d2ce0a9e77263d54
x86/pv: Fix assertion failure in pv_emulate_privileged_op()

The ABI of {read,write}_msr() requires them to use x86_emul_hw_exception() if
they report an exception with the emulator core.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/pv/emul-priv-op.c